package com.easylinkin.linkappapi.positioning.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@NoArgsConstructor
@TableName(value = "sbdw_alarm_person_contact")
public class AlarmPersonContact {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 电子围栏ID
     */
    @TableField(value = "fence_id")
    private Integer fenceId;

    /**
     * 告警通知人 id
     */
    @TableField(value = "alarm_person_contact_id")
    private String alarmPersonContactId;

    public static final String COL_ID = "id";

    public static final String COL_FENCE_ID = "fence_id";

    public static final String COL_ALARM_PERSON_CONTACT_ID = "alarm_person_contact_id";
}